import 'package:f_flutter_enjoy_plus/constants/index.dart';
import 'package:f_flutter_enjoy_plus/utils/RequestDio.dart';

// 获取社区公告列表
// Future getAnnounceList() {
//   return requestDio.get(HTTP_PATH.ANNOUNCE_LIST);
// }

Future getAnnounceListAPI() => requestDio.get(HTTP_PATH.ANNOUNCE_LIST);

// 获取社区公告详情
Future getAnnounceDetailAPI(String id) =>
    requestDio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');
